#ifndef __data_shuttle_common_define_header_file_h__
#define __data_shuttle_common_define_header_file_h__

#include <sys/time.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <netdb.h>
#include <time.h>
#include <errno.h>
#include <string.h>
#include "pointer.h"

namespace datashuttle
{

///get current time in milliseconds
long long timenow();

class noncopyable
{
protected:
    noncopyable() { }
    ~noncopyable() { } // May not be virtual! Classes without virtual 
                       // operations also derive from noncopyable.
private:
    noncopyable(const noncopyable&);
    const noncopyable& operator=(const noncopyable&);
};


}

#endif//__data_shuttle_common_define_header_file_h__

